<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="Project.aspx.cs" Inherits="Admin_Project" Title="Project Admin" %>



<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Main" Runat="Server">
    &nbsp;<table border="0" cellpadding="0" cellspacing="3" align="center">
        <tr>
            <td align="right" valign="top">
                <asp:Label ID="Label1" runat="server" Text="Title"></asp:Label></td>
            <td align="left" colspan="3">
                <asp:TextBox ID="tboTitle" runat="server" Width="593px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" valign="top">
                <asp:Label ID="Label5" runat="server" Text="URL"></asp:Label></td>
            <td align="left" colspan="3">
                <asp:TextBox ID="tboURL" runat="server" Width="593px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" valign="top">
                <asp:Label ID="Label3" runat="server" Text="Display URL"></asp:Label>
            </td>
            <td align="left" colspan="3">
                <asp:TextBox ID="tboDisplay" runat="server" Width="593px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" rowspan="5" valign="top">
                <asp:Label ID="Label4" runat="server" Text="Image"></asp:Label></td>
            <td align="center" rowspan="5" valign="middle">
                <asp:Image ID="imaThumb" runat="server" CssClass="photo_198" style="border:4px solid white" ImageUrl="~/Images/noimage.gif"/><br />
                <span style="font-size: 7pt">(Click Image to Select)</span>&nbsp;
            </td>
            <td align="right">
                <asp:Label ID="Label10" runat="server" Text="Category"></asp:Label></td>
            <td align="left">
                <asp:DropDownList ID="ddlCAts" runat="server" DataTextField="PCA_TITLE" DataValueField="PCA_ID">
                </asp:DropDownList>
                <asp:Button ID="butCats" runat="server" Text="Admin Categories" OnClick="butCats_Click" /></td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label9" runat="server" Text="Status"></asp:Label></td>
            <td align="left">
                <asp:DropDownList ID="ddlStatus" runat="server" DataTextField="PST_TITLE" DataValueField="PST_ID">
                </asp:DropDownList>
                <asp:Button ID="butStatuses" runat="server" Text="Admin Statuses" OnClick="butStatuses_Click" /></td>
        </tr>
        <tr>
            <td align="right" style="height: 25px">
                <asp:Label ID="Label11" runat="server" Text="Album"></asp:Label></td>
            <td align="left" style="height: 25px">
                <input id="tboAlbum" runat="server" type="text" />
                <input id="butAlbumSelect"
                    runat="server" type="button" value="Select" />
                <input id="butClearAlbum" type="button" value="Clear" runat="server" />(album must be public)</td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label7" runat="server" Text="File"></asp:Label>&nbsp;</td>
            <td align="left">
                <input id="tboFile" runat="server" type="text" />
                <input id="butFileSelect"
                    runat="server" type="button" value="Select" />
                <input id="butFileClear" type="button" value="Clear" runat="server" /></td>
        </tr>
        <tr>
            <td align="right" style="height: 22px">
                <asp:Label ID="Label8" runat="server" Text="white Paper"></asp:Label>
            </td>
            <td align="left" style="height: 22px" id="butWPSelect">
                <asp:TextBox ID="tboWP" runat="server" Visible="False">not implimented</asp:TextBox>
                <input id="Button1"
                    runat="server" type="button" value="Select" visible="false" />
                <input id="butClearWP" type="button" value="Clear" runat="server" visible="false" />(not yet implamented)</td>
        </tr>
        <tr>
            <td align="right" valign="top">
                <asp:Label ID="Label6" runat="server" Text="Short Description"></asp:Label>
                <asp:Label ID="Label13" runat="server" Text="1000 char max"></asp:Label></td>
            <td align="left" colspan="3">
                <ftb:freetextbox id="ftbShortDesc" runat="server" BreakMode="Paragraph"></ftb:freetextbox>
            </td>
        </tr>
        <tr>
            <td align="right" valign="top">
                <asp:Label ID="Label2" runat="server" Text="Long Description"></asp:Label>
                <asp:Label ID="Label12" runat="server" Text="4000 char max"></asp:Label></td>
            <td align="left" colspan="3">
                <ftb:freetextbox id="ftbLongDesc" runat="server"></ftb:freetextbox>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 100px" valign="top">
                &nbsp; &nbsp; &nbsp;
            </td>
            <td align="left" colspan="3" style="width: 100px">
                <asp:Button ID="butSave" runat="server" OnClick="butSave_Click" Text="Save" />               
                <asp:HiddenField
                    ID="hfiFileID" runat="server" />
                <asp:HiddenField
                    ID="hfiThumbID" runat="server" />
                <asp:HiddenField
                    ID="hfiProjectID" runat="server" />
                <asp:HiddenField ID="hfiWhitePaper" runat="server" />
                <asp:HiddenField ID="hfiAlbumID" runat="server" />
                &nbsp; &nbsp;
            </td>
        </tr>
    </table>
   
</asp:Content>

